@{        
    var deal = Groupon.GetDeal(dealId: "kodak-chicago");            
}

<h3>Groupon.GetDeal() Method</h3>

<pre class="codePre">
@@{
    var deal = <strong>Groupon.GetDeal(dealId: "kodak-chicago");</strong>   
}   
&lt;div class=&quot;dealBox&quot;&gt;
    &lt;p&gt;@@deal.AnnouncementTitle&lt;/p&gt;
    &lt;div class=&quot;leftBox&quot;&gt;
        ...
    &lt;/div&gt;        
    &lt;img src=&quot;@@deal.sidebarImageUrl&quot; /&gt;
&lt;/div&gt;</pre>

<p>Gets the details of a Groupon deal:</p>

<div class="dealBox">
    <p>@deal.AnnouncementTitle</p>
    <div class="leftBox">
        <div class="quantity">
            <span class="value">@deal.soldQuantity</span>
            <span class="label">Groupons Bought</span>
        </div>
        <div class="prices">
            <div class="label">Price:</div><div class="value">@deal.Options[0].Price.FormattedAmount</div>
            <div class="label">Value:</div><div class="value">@deal.Options[0].Value.FormattedAmount</div>
            <div class="label">Savings:</div><div class="value">@deal.Options[0].Discount.FormattedAmount</div>
		</div>
    </div>
    <img src="@deal.sidebarImageUrl" />
</div>